﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Fis.Win.Rules
{
    public class BookAidsViewProvider : ClientViewProvider
    {
        public override System.Collections.Hashtable InitializeViewModel(System.Collections.Hashtable args)
        {
            var model = args ?? new System.Collections.Hashtable();
            model["data"] = DataContext.DefaultModel.QueryTable(DataTableName, "FISBASE<>1 OR FISBASE is NULL");
            return model;
        }

        public override bool ExecuteUpdate(System.Collections.Hashtable viewModel)
        {

            return true;
        }
    }
}